# some of these are controlled by meson tristate features
plugin_deps = [
  gio,
  giounix,
  gnutls,
  gmodule,
  gudev,
  gusb,
  libarchive,
  libjsonglib,
  libxmlb,
  libdrm_amdgpu,
  protobufc,
  fwupdplugin_rs_dep,
]

plugins = {
  'uefi-capsule': false,
  'acpi-dmar': false,
  'acpi-facp': false,
  'acpi-ivrs': false,
  'acpi-phat': false,
  'amd-pmc': false,
  'amd-gpu': false,
  'analogix': false,
  'android-boot': false,
  'ata': false,
  'aver-hid': false,
  'bcm57xx': false,
  'bios': false,
  'ccgx': false,
  'ccgx-dmc': false,
  'cfu': false,
  'ch341a': false,
  'ch347': false,
  'colorhug': false,
  'corsair': false,
  'cpu': false,
  'cros-ec': false,
  'dell': false,
  'dell-dock': false,
  'dfu': false,
  'dfu-csr': false,
  'ebitdo': false,
  'elantp': false,
  'elanfp': false,
  'emmc': false,
  'ep963x': false,
  'fastboot': false,
  'flashrom': false,
  'focalfp': false,
  'fpc': false,
  'fresco-pd': false,
  'genesys': false,
  'genesys-gl32xx': false,
  'goodix-moc': false,
  'goodix-tp': false,
  'gpio': false,
  'hailuck': false,
  'intel-gsc': false,
  'intel-me': false,
  'intel-spi': false,
  'intel-usb4': false,
  'iommu': false,
  'jabra': false,
  'jabra-gnp': false,
  'kinetic-dp': false,
  'lenovo-thinklmi': false,
  'linux-display': false,
  'linux-lockdown': false,
  'linux-sleep': false,
  'linux-swap': false,
  'linux-tainted': false,
  'logind': false,
  'logitech-hidpp': false,
  'logitech-bulkcontroller': false,
  'logitech-rallysystem': false,
  'logitech-scribe': false,
  'logitech-tap': false,
  'mediatek-scaler': false,
  'modem-manager': false,
  'msr': false,
  'mtd': false,
  'nitrokey': false,
  'nordic-hid': false,
  'nvme': false,
  'optionrom': false,
  'parade-lspcon': false,
  'pci-bcr': false,
  'pci-mei': false,
  'pci-psp': false,
  'pixart-rf': false,
  'powerd': false,
  'qsi-dock': false,
  'realtek-mst': false,
  'redfish': false,
  'rts54hid': false,
  'rts54hub': false,
  'steelseries': false,
  'scsi': false,
  'superio': false,
  'synaptics-cape': false,
  'synaptics-cxaudio': false,
  'synaptics-mst': false,
  'synaptics-prometheus': false,
  'synaptics-rmi': false,
  'system76-launch': false,
  'test': false,
  'thelio-io': false,
  'thunderbolt': false,
  'ti-tps6598x': false,
  'tpm': false,
  'uefi-dbx': false,
  'uefi-esrt': false,
  'uefi-pk': false,
  'uefi-recovery': false,
  'uf2': false,
  'upower': false,
  'usi-dock': false,
  'vbe': false,
  'vli': false,
  'wacom-raw': false,
  'wacom-usb': false,
  'wistron-dock': false,
}

if get_option('plugin_vendor_example')
  plugins += {'vendor-example': false}
endif

foreach plugin, enabled: plugins
  subdir(plugin)
endforeach
